#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <QSqlDatabase>
#include <QSqlTableModel>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
#include <QObject>
#include <QMessageBox>
#include <QDebug>
#include "sqlite.h"
#include <QInputDialog>


namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButtonSave_clicked();

    void on_pushButtonRevert_clicked();

    void on_pushButtonShowAll_clicked();

    void on_pushButtonDelRow_clicked();

    void on_pushButtonAddRow_clicked();

    void on_pushButtonSelectRow_clicked();

    void on_pushButtonShowColumns_clicked();

    void on_pushButtonAbstractColumn_clicked();

    void on_pushButtonIsExist_clicked();

    void on_pushButtonLishColName_clicked();

    void on_pushButtonHideColumns_clicked();

    void on_pushButtonReadCell_clicked();

    void on_pushButtonGetColName_clicked();

    void on_pushButtonSortEnable_clicked();

    void on_pushButtonFindInforByDid_clicked();

    void on_pushButtonFilter_clicked();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
